import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./App";
import '@/mock';
import { Provider } from "react-redux";
import store from "./store";
import zhCN from 'antd/locale/zh_CN';
import { ConfigProvider } from "antd";

const root = ReactDOM.createRoot(
  document.getElementById("root") as HTMLElement
);
root.render(
  <Provider store={store}>
    <ConfigProvider locale={zhCN}> 
      <App />
    </ConfigProvider>
  </Provider>
);
